]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st/scroll-view: Add missing notify call
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 9 Feb 2022 15:17:11 +0000 (16:17 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 10 Feb 2022 13:09:37 +0000 (13:09 +0000)
Another property where changes aren't notified when going through
the public setter.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2168>

src/st/st-scroll-view.c

index fe7f3313e35b7b0df1b43017e80f3bda401234ff..132abd5a400c44057c66c6e42fc8dfe98fa78f1c 100644 (file)
@@ -1228,6 +1228,8 @@ st_scroll_view_set_mouse_scrolling (StScrollView *scroll,
       /* make sure we can receive mouse wheel events */
       if (enabled)
         clutter_actor_set_reactive ((ClutterActor *) scroll, TRUE);
+
+      g_object_notify_by_pspec (G_OBJECT (scroll), props[PROP_MOUSE_SCROLL]);
     }
 }